package com.twu.biblioteca.view;

import java.io.*;

/**
 * Created by sgreweni on 22/07/2014.
 */
public class Writer {
    private final PrintStream printStream;

    public Writer(PrintStream printStream){
        this.printStream = printStream;
    }


    public void format(String format, Object ... args){
       printStream.format(format, args);
    }

    public void write(String s){
        printStream.println(s);
    }
}